package com.sky.controller;

import io.jboot.web.controller.JbootController;
import io.jboot.web.controller.annotation.RequestMapping;

/*
 *用户：sky-吴
 *日期：2020/4/22
 */
@RequestMapping("/jwt")
public class JwtController extends JbootController {

	public void index() {
		setJwtAttr("key1", "test111");
		setJwtAttr("key2", "test222");
		setJwtAttr("key3", "test333");

		String token = createJwtToken();
		renderText(token);
	}
}
